gusucode.com > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM源码程序 > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM\OSU_SVM3.00\demo\u_svcdemo.m
% ------- OSU nu-SVM CLASSIFIER TOOLBOX Demonstrations--- % % 1) Construct a linear SVM Classifier and test it % 2) Construct a nonlinear SVM Classifier (polynomial kernel) and test it % 3) Construct a nonlinear SVM Classifier (rbf kernel) and test it % 4) Classifier a set of input patterns % % 0) Return to upper level echo off % OSU SVM Classifier Matlab Toolbox Demonstrations. while 1 demos= ['u_lindemo ' 'u_poldemo ' 'u_rbfdemo ' 'u_clademo ']; clc help u_svcdemo n = input('Select a demo number: '); if ((n <= 0) | (n > 4)) break end demos = demos(n,:); eval(demos) clear end clear n demos clc